Skip to content

Conversation

@willcl-ark
Copy link
Contributor

@willcl-ark willcl-ark commented Sep 3, 2023

def gen_config_dir(network: str) -> Path:
    """
    Determine a config dir based on network name
    """
    config_dir = os.getenv("XDG_CONFIG_HOME", os.path.expanduser("~/.warnet"))
    config_dir = Path(config_dir) / "warnet" / network
    return config_dir
  • updated README

Would love to see some testing on this from others, if possible, i'd recommend something like:

pip uninstall warnet
pip freeze | xargs pip uninstall -y
docker ps -aq | xargs docker stop

# WARNING WILL REMOVE ALL DOCKER EVERYTHINGS!
# Use other methods to prune old warnet images if you have other docker stuff you don't want to lose!
docker system prune -a

pip install -e .

Then README.md should guide you through the process :)

I plan to

  • re-add the dns server
  • fluentd log manager (not working properly :'( )

@willcl-ark
Copy link
Contributor Author

The annoying thing about ruimarinho images is they are 2 versions out of date :'( But I plan to host our own warnet images (with tor and the other bits we want pre-installed), so can easily-enough make our own v24.1 and v25.0 images at that time I think...

@willcl-ark willcl-ark marked this pull request as draft September 4, 2023 20:57
@willcl-ark
Copy link
Contributor Author

I've opened ruimarinho/docker-bitcoin-core#144 to try and fixup that repo, so we can use it here :)

We can keep these better maintained, and they work just as well
@willcl-ark willcl-ark marked this pull request as ready for review September 6, 2023 20:27
@willcl-ark
Copy link
Contributor Author

Now includes some @pinheadmz fixups

@willcl-ark willcl-ark merged commit 9faaffd into bitcoin-dev-project:main Sep 6, 2023
@willcl-ark willcl-ark deleted the ruimarinho-images branch September 6, 2023 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't mount files from /tmp/ directories spin-up a fork-observer instance in the warnet docker-compose

2 participants